package cn.monkey.family.server.domain.shop.item.comment;

import cn.monkey.family.data.shop.item.comment.CommentMapper;
import org.mapstruct.factory.Mappers;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CommentConfiguration {

    @Bean
    CommentMapper commentMapper() {
        return Mappers.getMapper(CommentMapper.class);
    }
}
